import MoveParent from "./move_parent";

export default class MovePlayer extends MoveParent{
    constructor(x=200,y=200) {
        super();
        this.x = x;
        this.y = y;
        
        this.texture = godot.load("res://assets/player.png") as godot.Texture;
        this.hframes = 5
        this.vframes = 4

        this.position = new godot.Vector2(this.x, this.y)

        this.isKeyMove = true;
        this.isMouseMove = true
    }
}